package com.study.design.pattern.pattern.behavioral.observer.guava;

import com.google.common.eventbus.Subscribe;

/**
 * @Author: gongsl
 * @Date: 2025-03-24 20:48
 * @description: APP推送服务
 */
public class AppNotifier {
    @Subscribe
    public void pushToApp(DeliveryStatusUpdateEvent event) {
        System.out.printf("[APP] 用户您好，订单 %s 当前状态：%s%n",
                event.getOrderId(), event.getNewStatus());
    }
}
